package com.xiaolun.service.impl;

import com.xiaolun.dao.OrderDao;
import com.xiaolun.entity.Order;
import com.xiaolun.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @time: 2020-12-01 17:18
 * @author: likunlun
 * @description: service层的订单实现类
 */
@Service
public class OrderServiceImpl implements OrderService {
	@Autowired
	OrderDao orderDao;

	@Override
	public List<Order> findAll() {
		return this.orderDao.findAll();
	}
}
